package com.zb.vo;

import com.zb.annotation.NumberPattern;
import com.zb.entity.FieldSelectVo;
import com.zb.result.PageUtil;
import com.zb.utils.VerificUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author WEN
 * @Date 2023/8/23 0023
 **/
@Data
@ApiModel("编码字段条件查询对象")
public class CodeFieldSelectVo extends FieldSelectVo {
    @NotNull(message = "字段类别不能为空")
    @NumberPattern(regexp = "^(1|2)$", message = "字段类别不合法！")
    @ApiModelProperty(value = "字段类别 1：编码表字段，2：编码用户登记表字段")
    private Integer category;

}
